--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 8a4c8952f3a39b7ecfad8b3d0394b481b915d0b7
Parents : 53bea61
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-06-24T00:40:28+02:00
Cleanup
Changes
24 files changed, 47 insertions(+), 29 deletions(-)
Diff
diff --git a/LXST/Codecs/Codec.py b/LXST/Codecs/Codec.py
index 911d7f5..001af79 100644
--- a/LXST/Codecs/Codec.py
+++ b/LXST/Codecs/Codec.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import numpy as np
from .libs.pydub import AudioSegment
diff --git a/LXST/Codecs/Codec2.py b/LXST/Codecs/Codec2.py
index ab37ebe..d80f570 100644
--- a/LXST/Codecs/Codec2.py
+++ b/LXST/Codecs/Codec2.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import time
import math
import struct
diff --git a/LXST/Codecs/Opus.py b/LXST/Codecs/Opus.py
index 96a85ea..a3e7b02 100644
--- a/LXST/Codecs/Opus.py
+++ b/LXST/Codecs/Opus.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import io
import RNS
import time
diff --git a/LXST/Codecs/Raw.py b/LXST/Codecs/Raw.py
index 70652d8..78d0c84 100644
--- a/LXST/Codecs/Raw.py
+++ b/LXST/Codecs/Raw.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import RNS
import numpy as np
from .Codec import Codec
diff --git a/LXST/Codecs/__init__.py b/LXST/Codecs/__init__.py
index b081b02..c794aa4 100644
--- a/LXST/Codecs/__init__.py
+++ b/LXST/Codecs/__init__.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
from .Codec import CodecError as CodecError
from .Codec import Codec as Codec
from .Codec import Null as Null
diff --git a/LXST/Common.py b/LXST/Common.py
index 6ba1e9c..74e2c02 100644
--- a/LXST/Common.py
+++ b/LXST/Common.py
@@ -1,2 +1,4 @@
+# Copyright 2024-2026, Mark Qvist
+
def nop():
pass
\ No newline at end of file
diff --git a/LXST/Filters.c b/LXST/Filters.c
index c47b31e..f61ac1d 100644
--- a/LXST/Filters.c
+++ b/LXST/Filters.c
@@ -1,3 +1,5 @@
+// Copyright 2024-2026, Mark Qvist
+
#include <math.h>
void highpass_filter(float* input, float* output, int samples, int channels, float alpha, float* filter_states, float* last_inputs) {
diff --git a/LXST/Filters.h b/LXST/Filters.h
index cefeb6c..aa58664 100644
--- a/LXST/Filters.h
+++ b/LXST/Filters.h
@@ -1,3 +1,5 @@
+// Copyright 2024-2026, Mark Qvist
+
void highpass_filter(float* input, float* output, int samples, int channels, float alpha, float* filter_states, float* last_inputs);
void lowpass_filter(float* input, float* output, int samples, int channels, float alpha, float* filter_states);
void agc_process(float* input, float* output, int samples, int channels, float target_linear, float max_gain_linear, float trigger_level, float attack_coeff, float release_coeff, float hold_samples, float* current_gain_lin, int* hold_counter, int block_target);
\ No newline at end of file
diff --git a/LXST/Filters.py b/LXST/Filters.py
index bc6810e..29f2c2c 100644
--- a/LXST/Filters.py
+++ b/LXST/Filters.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
from importlib.util import find_spec
from collections import deque
import numpy as np
diff --git a/LXST/Generators.py b/LXST/Generators.py
index fa37bc1..77586c8 100644
--- a/LXST/Generators.py
+++ b/LXST/Generators.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import os
import RNS
import math
diff --git a/LXST/Mixer.py b/LXST/Mixer.py
index cfe23b1..27335ca 100644
--- a/LXST/Mixer.py
+++ b/LXST/Mixer.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import RNS
import LXST
import time
diff --git a/LXST/Network.py b/LXST/Network.py
index a266c07..a78bc32 100644
--- a/LXST/Network.py
+++ b/LXST/Network.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import RNS
import time
import threading
diff --git a/LXST/Pipeline.py b/LXST/Pipeline.py
index af63233..4d2a0b7 100644
--- a/LXST/Pipeline.py
+++ b/LXST/Pipeline.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import threading
from .Sources import *
diff --git a/LXST/Platforms/android/soundcard.py b/LXST/Platforms/android/soundcard.py
index de927fd..eff4046 100644
--- a/LXST/Platforms/android/soundcard.py
+++ b/LXST/Platforms/android/soundcard.py
@@ -1,32 +1,4 @@
-# Reticulum License
-#
-# Copyright (c) 2025 Mark Qvist
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# - The Software shall not be used in any kind of system which includes amongst
-# its functions the ability to purposefully do harm to human beings.
-#
-# - The Software shall not be used, directly or indirectly, in the creation of
-# an artificial intelligence, machine learning or language model training
-# dataset, including but not limited to any use that contributes to the
-# training or development of such a model or algorithm.
-#
-# - The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
+# Copyright 2024-2026, Mark Qvist
import atexit
import collections.abc
diff --git a/LXST/Primitives/Players.py b/LXST/Primitives/Players.py
index e487eee..ac11dc4 100644
--- a/LXST/Primitives/Players.py
+++ b/LXST/Primitives/Players.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import LXST
import time
import threading
diff --git a/LXST/Primitives/Recorders.py b/LXST/Primitives/Recorders.py
index b4c8d20..d52fb7c 100644
--- a/LXST/Primitives/Recorders.py
+++ b/LXST/Primitives/Recorders.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import RNS
import LXST
import time
diff --git a/LXST/Primitives/Telephony.py b/LXST/Primitives/Telephony.py
index 280ca64..f28e45a 100644
--- a/LXST/Primitives/Telephony.py
+++ b/LXST/Primitives/Telephony.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import os
import RNS
import LXST
diff --git a/LXST/Primitives/__init__.py b/LXST/Primitives/__init__.py
index e285a45..17ccdf4 100644
--- a/LXST/Primitives/__init__.py
+++ b/LXST/Primitives/__init__.py
@@ -1 +1,3 @@
+# Copyright 2024-2026, Mark Qvist
+
from .Telephony import Telephone
\ No newline at end of file
diff --git a/LXST/Primitives/hardware/display_i2c_lcd1602.py b/LXST/Primitives/hardware/display_i2c_lcd1602.py
index c609cf9..02424e9 100644
--- a/LXST/Primitives/hardware/display_i2c_lcd1602.py
+++ b/LXST/Primitives/hardware/display_i2c_lcd1602.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import os
import time
import threading
diff --git a/LXST/Primitives/hardware/keypad_gpio_4x4.py b/LXST/Primitives/hardware/keypad_gpio_4x4.py
index dd977fe..6704af0 100644
--- a/LXST/Primitives/hardware/keypad_gpio_4x4.py
+++ b/LXST/Primitives/hardware/keypad_gpio_4x4.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import os
import time
import threading
diff --git a/LXST/Sinks.py b/LXST/Sinks.py
index 3d51c38..fa33160 100644
--- a/LXST/Sinks.py
+++ b/LXST/Sinks.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import RNS
import math
import time
diff --git a/LXST/Sources.py b/LXST/Sources.py
index 04ef848..2ffc410 100644
--- a/LXST/Sources.py
+++ b/LXST/Sources.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
import os
import RNS
import math
diff --git a/LXST/Utilities/rnphone.py b/LXST/Utilities/rnphone.py
index 3abd043..bb2fb39 100644
--- a/LXST/Utilities/rnphone.py
+++ b/LXST/Utilities/rnphone.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
+# Copyright 2024-2026, Mark Qvist
+
import RNS
import os
import sys
diff --git a/LXST/__init__.py b/LXST/__init__.py
index 97a0d90..77a4695 100644
--- a/LXST/__init__.py
+++ b/LXST/__init__.py
@@ -1,3 +1,5 @@
+# Copyright 2024-2026, Mark Qvist
+
APP_NAME = "lxst"
from .Pipeline import Pipeline
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────